<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
</head>

<body>
    <a href="https://dz.yunxwork.com/pdf/云享技术（天津）有限公司济南分公司1715325313.zip" download="test">来吧</a>
</body>

<script>
    let a = document.querySelector("a");
    a.addEventListener("click", () => {
        console.log(123);
    });
    a.addEventListener("load", () => {
        console.log(345);
    });
</script>

</html>